package com.example.service;

import com.example.result.CommonResult;

/**
 * @author: tobed
 * @date: 2022/11/18
 * @time: 14:09
 */
public interface MessagesService {

    /*查询个人消息*/
    CommonResult listMessage(Integer userId,Integer type);

    /*清理个人消息*/
    CommonResult cleanNoRead(Integer userId, Integer type);

    /*修改状态*/
    CommonResult changeStatus(Integer id);
}
